package org.achartengine.internal.renderer;

import android.graphics.Paint;
import android.graphics.Typeface;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/* loaded from: classes2.dex */
public class a implements Serializable {
    public static final int a = 0;
    public static final int b = -16777216;
    public static final int c = -3355444;
    private static final Typeface d = Typeface.create(Typeface.SERIF, 0);
    private int g;
    private boolean h;
    private Typeface e = d;
    private int f = 0;
    private boolean i = true;
    private int j = c;
    private boolean k = true;
    private int l = c;
    private float m = 10.0f;
    private boolean n = true;
    private float o = 12.0f;
    private boolean p = false;
    private boolean q = false;
    private boolean r = false;
    private List<b> s = new ArrayList();
    private boolean t = true;
    private Paint.Align u = Paint.Align.CENTER;
    private Paint.Align v = Paint.Align.CENTER;
    private int w = 0;
    private int[] x = {20, 30, 10, 0};
    private float y = 1.0f;

    public void a(b bVar) {
        this.s.add(bVar);
    }

    public void a(int i, b bVar) {
        this.s.add(i, bVar);
    }

    public void b(b bVar) {
        this.s.remove(bVar);
    }

    public b a(int i) {
        return this.s.get(i);
    }

    public int a() {
        return this.s.size();
    }

    public b[] b() {
        return (b[]) this.s.toArray(new b[0]);
    }

    public int c() {
        return this.g;
    }

    public void b(int i) {
        this.g = i;
    }

    public boolean d() {
        return this.h;
    }

    public void a(boolean z) {
        this.h = z;
    }

    public int e() {
        return this.j;
    }

    public void c(int i) {
        this.j = i;
    }

    public int f() {
        return this.l;
    }

    public void d(int i) {
        this.l = i;
    }

    public float g() {
        return this.m;
    }

    public void a(float f) {
        this.m = f;
    }

    public boolean h() {
        return this.i;
    }

    public void b(boolean z) {
        this.i = z;
    }

    public boolean i() {
        return this.k;
    }

    public void c(boolean z) {
        this.k = z;
    }

    public boolean j() {
        return this.q;
    }

    public void d(boolean z) {
        this.q = z;
    }

    public boolean k() {
        return this.r;
    }

    public void e(boolean z) {
        this.r = z;
    }

    public boolean l() {
        return this.n;
    }

    public void f(boolean z) {
        this.n = z;
    }

    public boolean m() {
        return this.p;
    }

    public void g(boolean z) {
        this.p = z;
    }

    public Typeface n() {
        return this.e;
    }

    public int o() {
        return this.f;
    }

    public float p() {
        return this.o;
    }

    public void b(float f) {
        this.o = f;
    }

    public void a(Typeface typeface, int i) {
        this.e = typeface;
        this.f = i;
    }

    public boolean q() {
        return this.t;
    }

    public void h(boolean z) {
        this.t = z;
    }

    public Paint.Align r() {
        return this.u;
    }

    public void a(Paint.Align align) {
        this.u = align;
    }

    public Paint.Align s() {
        return this.v;
    }

    public void b(Paint.Align align) {
        this.v = align;
    }

    public float t() {
        return this.y;
    }

    public void c(float f) {
        this.y = f;
    }

    public int u() {
        return this.w;
    }

    public void e(int i) {
        this.w = i;
    }

    public int[] v() {
        return this.x;
    }

    public void a(int[] iArr) {
        this.x = iArr;
    }
}
